package Test;

/**
 * Created by 春旺 on 2017/4/7.
 */
abstract class GetTime
{
    public void Gettime() {
        long start = System.currentTimeMillis();

        rancode();

        long end = System.currentTimeMillis();

        System.out.println("毫秒：" + (end - start));
    }
      public abstract void rancode();

}
